package chapter10;

public class Day01 {
    public static void main(String[] args) {
        double income = 8000;
        double cost  = 5000;
        for (int i = 2014; i < 2026; i++) {
            income *= (1+0.2);
            cost  *= (1+0.14);
        }
        if (income-cost>=100000){
            System.out.println("可以在2025年实现目标");
        }else {
            System.out.println("不可以在2025年实现目标");
        }
    }

}
